MPlayer on Windows (win32/win64)
If you appreciate my work, you may want to:
[News]
- [20221217] MPlayer r38407+g10a56363a7 - FFmpeg N-109428-g10a56363a7
- Updated MinGW-w64 to 10.0.0 (gcc 12)
- No more i486 compatible build (difficult to patch MinGW and not sure if still compatible)
- Updated iconv to 1.17
- Updated harfbuzz to 6.0.0
- Updated zlib to 1.2.13
- Updated expat to 2.5.0
- Updated flac to 1.4.2
- Updated fontconfig to 2.14.1
- Updated freetype to 2.12.1
- Updated fribidi to 1.0.12
- Updated libjpeg-turbo to 2.1.4
- Updated libopenmpt to 0.6.6
- Updated libpng to 1.6.39
- Updated SDL2 to 2.26.1
- Updated libwebp to 1.2.4
- Updated mbedtls to 2.28.2
- Updated mpg123 to 1.31.1
- Updated opencore-amr to 0.1.6
- Updated openjpeg to 2.5.0
- Updated speex to 1.2.1
- Updated libfdk-aac (git), download updated dll
- Updated frei0r (git), download updated plugins
- Updated libvpx (git)
- Updated libaom (git)
- Updated AviSynthPlus (git)
- Updated dlfcn-win32 (git)
- Updated ffnvcodec (git)
- Updated libass (git)
- Updated libcdio (git)
- Updated libdvdread/libdvdnav (git)
- Updated libshine (git)
- Updated openh264 (git)
- Updated kvazaar (git)
- Updated vid.stab (git)
- Updated x264 (git)
- Updated zimg (git)
- [20211230] MPlayer r38328+g30322ebe3c - FFmpeg N-105038-g30322ebe3c
- Updated MinGW-w64 to 9.0.0 (gcc 10.3.0)
- Updated libaom (git)
- Updated AviSynthPlus (git)
- Updated dlfcn-win32 (git)
- Updated libfdk-aac (git), download updated dll
- Updated frei0r (git), download updated plugins
- Updated libass (git)
- Updated libdvdread/libdvdnav (git)
- Updated libmodplug (git)
- Updated kvazaar (git)
- Updated openh264 (git)
- Updated x264 (git)
- Updated zimg (git)
- Updated zlib to 1.2.12
- Updated expat to 2.4.8
- Updated flac to 1.3.4
- Updated libjpeg-turbo to 2.1.3
- Updated libopenmpt to 0.6.2
- Updated SDL2 to 2.0.20
- Updated libwebp to 1.2.2
- Updated libgsm to 1.0.19
- Updated fontconfig to 2.14.0
- Updated freetype to 2.12.0
- [20211230] MPlayer r38328+g30322ebe3c - FFmpeg N-105038-g30322ebe3c
- Updated Mbed TLS to 2.28.0
- Updated libvpx (git)
- Updated libaom (git)
- Updated kvazaar (git)
- Updated AviSynthPlus (git)
- Updated frei0r (git), download updated plugins
- Updated libass (git)
- Updated libcdio (git)
- Updated libdvdread / libdvdnav(git)
- Updated openh264 (git)
- Updated expat to 2.4.2
- Updated freetype to 2.11.1
- Updated libjpeg-turbo to 2.1.2
- Updated libopenmpt to 0.6.0
- Updated SDL2 to 2.0.18
Build selection table
ARCH | CPU | Build (r38407+g10a56363a7) |
---|---|---|
AMD64/Intel EM64T | 64bit cpu on 64bit Operating System, will not work on 32bit Windows, binary codecs are not supported | x86_64 |
AMD K8+SSE3 | Athlon 64 (X2), Phenom (II), Athlon II, Sempron AM2/AM3, Bulldozer, AMD FX, socket FM1/FM2 A-series | k8-sse3 |
Intel Core 2 | Core 2 Duo/Quad, Pentium Dual-Core, Celeron 4xx/Exxxx, Atom | core2 |
Intel Nehalem | Core i3/i5/i7, Celeron/Pentium G | corei7 |
Generic | Intel 486 or better (see notes) | generic |
Builds are made using MinGW-w64 x86/x86_64 toolchain and require at least Windows XP, 64bit builds require at least Windows 7 64bit
Other precompiled versions of MPlayer can be found on the main projects page
7z files are 7-zip archives
Binaries: MPlayer/MEncoder (in the same package), FFmpeg.
Sourceforge mirrors may take a while to update packages, so try later if problems.
▽ MPlayer/MEncoder svn r38407+g10a56363a7 - 20221217
▽ FFmpeg-x86 git N-109428-g10a56363a7 - 20221217
▽ FFmpeg-x86_64 git N-109428-g10a56363a7 - 20221217
[Related links]
- SMPlayer Nice GUI for MPlayer
- Notes -
MPlayer suffix revision is git revision of libavcodec that was compiled in
More infos about Direct Show Native Wrapper, look at "VideoCodec" column to see what to add after -vc in MPlayer
fontconfig
If you enable fontconfig, the first run of mplayer can take a while, even 2-3 minutes, because the font cache needs to be created. In the window you can follow fonts that are being parsed. Other runs you will have no delay until you make changes to the font directory.
i486 generic build
frei0r filters and following codecs still need i686 cpu:
- x264
- x265
- openh264
- libvpx
- fdk-aac
FFplay
You can ask for a different SDL2 video render by setting SDL_VIDEO_RENDER
environment variable.
Possible values are direct3d (default), opengl, software.
frei0r plugins
FFmpeg build supports frei0r plugins that needs be to downloaded separately, I've prepared frei0r-plugins-x86-v1.8.0-8-ga9d15ff.7z and frei0r-plugins-x86_64-v1.8.0-8-ga9d15ff.7z. Just unpack into FFmpeg directory, you should have ffmpeg.exe and at the same level frei0r-1 subdir
libfdk-aac encoder
libfdk-aac encoder is not included in MEncoder and FFmpeg package due to licensing problems, you should download separately libfdk-aac-x86-v2.0.2-231-g3f864cc.7z or libfdk-aac-x86_64-v2.0.2-231-g3f864cc.7z (for the 64bit version) and unpack the dll (with e.g. 7zip) in the directory in which the executable lies.
dvdnav
To use dvdnav the best way is pick a recent svn build of smplayer from SMPlayer homepage
- go to Preferences->Keyboard and mouse->Mouse and select "Activate option in DVD menus" for the left mouse button (so you can select the options in the menus with the mouse)
- go to Preferences->Drives and check the option "Enable DVD menus"
Since for some reason KEYPAD arrow keys on win32 are the same keys of arrow keys, you cannot use them without losing seek ability of right and left, so you can add this snip in input.conf to re-route them to menu system only if dvdnav is selected:
UP {dvdnav} dvdnav up # DVDNav UP DOWN {dvdnav} dvdnav down # DVDNav DOWN LEFT {dvdnav} dvdnav left # DVDNav LEFT RIGHT {dvdnav} dvdnav right # DVDNav RIGHT ESC {dvdnav} dvdnav menu # DVDNav MENU ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok) BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
Experimental unsupported Win98 SE build
I've made a build compatible with Win98 SE, most optimizations are disabled since not supported by the OS, it worked for me in VirtualBox. Download them from MPlayer-win98-r38116+g23fe072e43.7z.
HX Dos Extender
At this time (12/20/2009), I've successfully run mplayer on FreeDOS + HX Extender on a WMware Virtual Machine, you need to use sdl video output. Unfortunately there is a glitch, the default resolution given by sdl with -vm or similar switches, trashes the console at exit so the best way to run it is using default output with -vo sdl, that merely results in a continuous error message, then press C key to cycle resolutions. Using dpmild32 -g also works fine. You also need additionals dll:
- for HX < 2.17, modified ol32.dll and duser32.dll from hxmpdeps.7z (contains also diffs)
- mscvrt.dll, crtdll.dll, opengl32.dll, glu32.dll from Win98 system folder
You can avoid passing command line options for vo/ao by adding these lines to mplayer\config:
vo=sdl ao=win32
[Misc Files]
- MPlayer-win98-r38116+g23fe072e43.7z [11.34 MiB] - Sep 19, 2018
- bcrypt.7z [5 KiB] - Nov 30, 2019
- binutils_cvs_file64.diff [405 bytes] - Sep 29, 2008
- cpuinfo.exe [8 KiB] - Apr 01, 2008
- faad2-2.6.1-repack.tar.gz [1.13 MiB] - Nov 18, 2007
- flac-mingw32-1.2.1-gcc42.tar.bz2 [499 KiB] - Mar 25, 2011
- frei0r-plugins-x86-v1.8.0-8-ga9d15ff.7z [942 KiB] - Dec 17, 2022
- frei0r-plugins-x86_64-v1.8.0-8-ga9d15ff.7z [943 KiB] - Dec 17, 2022
- gcc_bug_34625.diff [881 bytes] - Mar 25, 2010
- hxmpdeps.7z [19 KiB] - Dec 20, 2009
- libfaac-x86-1.28.7z [38 KiB] - Apr 07, 2016
- libfaac-x86_64-1.28.7z [42 KiB] - Apr 07, 2016
- libfdk-aac-x86-v2.0.2-231-g3f864cc.7z [437 KiB] - Dec 17, 2022
- libfdk-aac-x86_64-v2.0.2-231-g3f864cc.7z [455 KiB] - Dec 17, 2022
- libregif-4.1.7.orig.tar.gz [72 KiB] - Nov 11, 2005
- libregif-4.1.7.tar.bz2 [258 KiB] - Dec 26, 2009
- mingwrt_file64.diff [1 KiB] - Mar 22, 2010
- xvid_vaq_1.2.2.diff [3 KiB] - Apr 08, 2010